package com.hello123.controller.antdpro;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.alibaba.fastjson.JSONObject;

/**
 * @since 2020/01/27 18:15:33
 */
@RestController
@RequestMapping("/openapi/v1")
public class AntdResController1 {
	
	@RequestMapping("/rule")
	public Object rule() {
		String str = "{\"list\":[{\"key\":0,\"disabled\":true,\"href\":\"https://ant.design\",\"avatar\":\"https://gw.alipayobjects.com/zos/rmsportal/eeHMaZBwmTvLdIwMfBpg.png\",\"name\":\"TradeCode 0\",\"title\":\"一个任务名称 0\",\"owner\":\"曲丽丽\",\"desc\":\"这是一段描述\",\"callNo\":448,\"status\":1,\"updatedAt\":\"2017-06-30T16:00:00.000Z\",\"createdAt\":\"2017-06-30T16:00:00.000Z\",\"progress\":49},{\"key\":1,\"disabled\":false,\"href\":\"https://ant.design\",\"avatar\":\"https://gw.alipayobjects.com/zos/rmsportal/udxAbMEhpwthVVcjLXik.png\",\"name\":\"TradeCode 1\",\"title\":\"一个任务名称 1\",\"owner\":\"曲丽丽\",\"desc\":\"这是一段描述\",\"callNo\":908,\"status\":3,\"updatedAt\":\"2017-06-30T16:00:00.000Z\",\"createdAt\":\"2017-06-30T16:00:00.000Z\",\"progress\":41},{\"key\":2,\"disabled\":false,\"href\":\"https://ant.design\",\"avatar\":\"https://gw.alipayobjects.com/zos/rmsportal/eeHMaZBwmTvLdIwMfBpg.png\",\"name\":\"TradeCode 2\",\"title\":\"一个任务名称 2\",\"owner\":\"曲丽丽\",\"desc\":\"这是一段描述\",\"callNo\":22,\"status\":0,\"updatedAt\":\"2017-07-01T16:00:00.000Z\",\"createdAt\":\"2017-07-01T16:00:00.000Z\",\"progress\":68},{\"key\":3,\"disabled\":false,\"href\":\"https://ant.design\",\"avatar\":\"https://gw.alipayobjects.com/zos/rmsportal/udxAbMEhpwthVVcjLXik.png\",\"name\":\"TradeCode 3\",\"title\":\"一个任务名称 3\",\"owner\":\"曲丽丽\",\"desc\":\"这是一段描述\",\"callNo\":730,\"status\":0,\"updatedAt\":\"2017-07-01T16:00:00.000Z\",\"createdAt\":\"2017-07-01T16:00:00.000Z\",\"progress\":100},{\"key\":4,\"disabled\":false,\"href\":\"https://ant.design\",\"avatar\":\"https://gw.alipayobjects.com/zos/rmsportal/eeHMaZBwmTvLdIwMfBpg.png\",\"name\":\"TradeCode 4\",\"title\":\"一个任务名称 4\",\"owner\":\"曲丽丽\",\"desc\":\"这是一段描述\",\"callNo\":504,\"status\":2,\"updatedAt\":\"2017-07-02T16:00:00.000Z\",\"createdAt\":\"2017-07-02T16:00:00.000Z\",\"progress\":60},{\"key\":5,\"disabled\":false,\"href\":\"https://ant.design\",\"avatar\":\"https://gw.alipayobjects.com/zos/rmsportal/udxAbMEhpwthVVcjLXik.png\",\"name\":\"TradeCode 5\",\"title\":\"一个任务名称 5\",\"owner\":\"曲丽丽\",\"desc\":\"这是一段描述\",\"callNo\":282,\"status\":0,\"updatedAt\":\"2017-07-02T16:00:00.000Z\",\"createdAt\":\"2017-07-02T16:00:00.000Z\",\"progress\":47},{\"key\":6,\"disabled\":true,\"href\":\"https://ant.design\",\"avatar\":\"https://gw.alipayobjects.com/zos/rmsportal/eeHMaZBwmTvLdIwMfBpg.png\",\"name\":\"TradeCode 6\",\"title\":\"一个任务名称 6\",\"owner\":\"曲丽丽\",\"desc\":\"这是一段描述\",\"callNo\":971,\"status\":0,\"updatedAt\":\"2017-07-03T16:00:00.000Z\",\"createdAt\":\"2017-07-03T16:00:00.000Z\",\"progress\":2},{\"key\":7,\"disabled\":false,\"href\":\"https://ant.design\",\"avatar\":\"https://gw.alipayobjects.com/zos/rmsportal/udxAbMEhpwthVVcjLXik.png\",\"name\":\"TradeCode 7\",\"title\":\"一个任务名称 7\",\"owner\":\"曲丽丽\",\"desc\":\"这是一段描述\",\"callNo\":210,\"status\":0,\"updatedAt\":\"2017-07-03T16:00:00.000Z\",\"createdAt\":\"2017-07-03T16:00:00.000Z\",\"progress\":67},{\"key\":8,\"disabled\":false,\"href\":\"https://ant.design\",\"avatar\":\"https://gw.alipayobjects.com/zos/rmsportal/eeHMaZBwmTvLdIwMfBpg.png\",\"name\":\"TradeCode 8\",\"title\":\"一个任务名称 8\",\"owner\":\"曲丽丽\",\"desc\":\"这是一段描述\",\"callNo\":953,\"status\":3,\"updatedAt\":\"2017-07-04T16:00:00.000Z\",\"createdAt\":\"2017-07-04T16:00:00.000Z\",\"progress\":60},{\"key\":9,\"disabled\":false,\"href\":\"https://ant.design\",\"avatar\":\"https://gw.alipayobjects.com/zos/rmsportal/udxAbMEhpwthVVcjLXik.png\",\"name\":\"TradeCode 9\",\"title\":\"一个任务名称 9\",\"owner\":\"曲丽丽\",\"desc\":\"这是一段描述\",\"callNo\":757,\"status\":1,\"updatedAt\":\"2017-07-04T16:00:00.000Z\",\"createdAt\":\"2017-07-04T16:00:00.000Z\",\"progress\":28},{\"key\":10,\"disabled\":false,\"href\":\"https://ant.design\",\"avatar\":\"https://gw.alipayobjects.com/zos/rmsportal/eeHMaZBwmTvLdIwMfBpg.png\",\"name\":\"TradeCode 10\",\"title\":\"一个任务名称 10\",\"owner\":\"曲丽丽\",\"desc\":\"这是一段描述\",\"callNo\":495,\"status\":2,\"updatedAt\":\"2017-07-05T16:00:00.000Z\",\"createdAt\":\"2017-07-05T16:00:00.000Z\",\"progress\":50},{\"key\":11,\"disabled\":false,\"href\":\"https://ant.design\",\"avatar\":\"https://gw.alipayobjects.com/zos/rmsportal/udxAbMEhpwthVVcjLXik.png\",\"name\":\"TradeCode 11\",\"title\":\"一个任务名称 11\",\"owner\":\"曲丽丽\",\"desc\":\"这是一段描述\",\"callNo\":498,\"status\":3,\"updatedAt\":\"2017-07-05T16:00:00.000Z\",\"createdAt\":\"2017-07-05T16:00:00.000Z\",\"progress\":28},{\"key\":12,\"disabled\":true,\"href\":\"https://ant.design\",\"avatar\":\"https://gw.alipayobjects.com/zos/rmsportal/eeHMaZBwmTvLdIwMfBpg.png\",\"name\":\"TradeCode 12\",\"title\":\"一个任务名称 12\",\"owner\":\"曲丽丽\",\"desc\":\"这是一段描述\",\"callNo\":521,\"status\":0,\"updatedAt\":\"2017-07-06T16:00:00.000Z\",\"createdAt\":\"2017-07-06T16:00:00.000Z\",\"progress\":76},{\"key\":13,\"disabled\":false,\"href\":\"https://ant.design\",\"avatar\":\"https://gw.alipayobjects.com/zos/rmsportal/udxAbMEhpwthVVcjLXik.png\",\"name\":\"TradeCode 13\",\"title\":\"一个任务名称 13\",\"owner\":\"曲丽丽\",\"desc\":\"这是一段描述\",\"callNo\":153,\"status\":0,\"updatedAt\":\"2017-07-06T16:00:00.000Z\",\"createdAt\":\"2017-07-06T16:00:00.000Z\",\"progress\":70},{\"key\":14,\"disabled\":false,\"href\":\"https://ant.design\",\"avatar\":\"https://gw.alipayobjects.com/zos/rmsportal/eeHMaZBwmTvLdIwMfBpg.png\",\"name\":\"TradeCode 14\",\"title\":\"一个任务名称 14\",\"owner\":\"曲丽丽\",\"desc\":\"这是一段描述\",\"callNo\":762,\"status\":0,\"updatedAt\":\"2017-07-07T16:00:00.000Z\",\"createdAt\":\"2017-07-07T16:00:00.000Z\",\"progress\":59},{\"key\":15,\"disabled\":false,\"href\":\"https://ant.design\",\"avatar\":\"https://gw.alipayobjects.com/zos/rmsportal/udxAbMEhpwthVVcjLXik.png\",\"name\":\"TradeCode 15\",\"title\":\"一个任务名称 15\",\"owner\":\"曲丽丽\",\"desc\":\"这是一段描述\",\"callNo\":668,\"status\":1,\"updatedAt\":\"2017-07-07T16:00:00.000Z\",\"createdAt\":\"2017-07-07T16:00:00.000Z\",\"progress\":6}],\"pagination\":{\"total\":16,\"pageSize\":10,\"current\":1}}";
		return JSONObject.parseObject(str);
	}

}
